PM3.6 - Diddy Kong - Action - 0x12b
Entry Script
- if ((InternalConstantInt(PreviousAction) Equal scalar(38)))
- IfStatementOr ((InternalConstantInt(PreviousAction) Equal scalar(299)))
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(OnGround)
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(InAir)
- CallEveryFrame { thread_id: 9, script: 0x27e78 }
- loop Infinite times:
- if (OnGround)
- SetEdgeSlide(StayOn)
- UnknownEvent { namespace: 0x8, code: 0x1, unk1: 0x0, arguments: [Value(0)] }
- SetAirGround(18)
- if ((InternalConstantInt(CurrentFrame) GreaterThan scalar(4)))
- IfStatementAnd (ChangeInAirGroundState)
- AllowInterrupts
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubactionRestartFrame(AttackDash)
- else
- ChangeSubaction(AttackDash)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetEdgeSlide(Airbourne)
- UnknownEvent { namespace: 0x8, code: 0x1, unk1: 0x0, arguments: [Value(4)] }
- LedgeGrabEnable(Disable)
- SetAirGround(0)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubactionRestartFrame(AttackDashAir)
- else
- ChangeSubaction(AttackDashAir)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
- LoopRest
Exit Script